.class public Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
.super Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;
.source "UserInfoMainActivity.java"


# static fields
.field private static final DEFAULT_COLOR:Ljava/lang/String; = "#08aad9"

.field private static final DIRECTION_DOWN:I = 0x1

.field private static final DIRECTION_UP:I = 0x0

.field public static final USER_MODEL:Ljava/lang/String; = "UserModel"


# instance fields
.field private mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

.field private mAvatarImage:Landroid/widget/ImageView;

.field private mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

.field private mContentView:Landroid/view/View;

.field private mDirection:I

.field private mDy:I

.field private mFavBtn:Landroid/view/View;

.field private mFavNumTxt:Landroid/widget/TextView;

.field private mHeaderArea:Landroid/view/View;

.field private mHeaderBottom:I

.field private mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private mIndicator:Landroid/view/View;

.field private mInfoArea:Landroid/view/View;

.field private mInfoDy:I

.field private mIsAnimating:Z

.field private mIsExpanded:Z

.field private mIsTouching:Z

.field private mLastMotionY:F

.field private mMetrics:Landroid/util/DisplayMetrics;

.field private mNewMsgBox:Landroid/view/View;

.field private mNewMsgIndicator:Landroid/widget/ImageView;

.field private mNumArea:Landroid/view/View;

.field private mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mRecommendBtn:Landroid/view/View;

.field private mRecommendNumTxt:Landroid/widget/TextView;

.field private mScrollView:Lcom/brixd/niceapp/ui/ZMScrollView;

.field private mTouchSlop:I

.field private mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

.field private mTypes:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;",
            ">;"
        }
    .end annotation
.end field

.field private mUpNum:Landroid/widget/TextView;

.field private mUserIdentityImage:Landroid/widget/ImageView;

.field private mUserIntroTxt:Landroid/widget/TextView;

.field private mUserModel:Lcom/brixd/niceapp/model/UserModel;

.field private mUserNameTxt:Landroid/widget/TextView;

.field private mViewPager:Landroid/support/v4/view/ViewPager;


# direct methods
.method public constructor <init>()V
    .registers 3

    .prologue
    const/4 v1, 0x0

    .line 67
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;-><init>()V

    .line 98
    sget-object v0, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    .line 101
    const/4 v0, -0x1

    iput v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mDirection:I

    .line 102
    const/high16 v0, -0x40800000

    iput v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mLastMotionY:F

    .line 105
    iput-boolean v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsTouching:Z

    .line 106
    iput-boolean v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsAnimating:Z

    .line 107
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsExpanded:Z

    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mContentView:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/util/DisplayMetrics;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mMetrics:Landroid/util/DisplayMetrics;

    return-object v0
.end method

.method static synthetic access$1000(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Ljava/util/List;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$1100(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;J)V
    .registers 4
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # J

    .prologue
    .line 67
    invoke-direct {p0, p1, p2}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->expandHeader(J)V

    return-void
.end method

.method static synthetic access$1200(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderBottom:I

    return v0
.end method

.method static synthetic access$1202(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # I

    .prologue
    .line 67
    iput p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderBottom:I

    return p1
.end method

.method static synthetic access$1300(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mDy:I

    return v0
.end method

.method static synthetic access$1302(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # I

    .prologue
    .line 67
    iput p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mDy:I

    return p1
.end method

.method static synthetic access$1402(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # I

    .prologue
    .line 67
    iput p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoDy:I

    return p1
.end method

.method static synthetic access$1500(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsAnimating:Z

    return v0
.end method

.method static synthetic access$1502(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 67
    iput-boolean p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsAnimating:Z

    return p1
.end method

.method static synthetic access$1600(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsTouching:Z

    return v0
.end method

.method static synthetic access$1602(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 67
    iput-boolean p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsTouching:Z

    return p1
.end method

.method static synthetic access$1700(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mDirection:I

    return v0
.end method

.method static synthetic access$1702(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;I)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # I

    .prologue
    .line 67
    iput p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mDirection:I

    return p1
.end method

.method static synthetic access$1800(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;J)V
    .registers 4
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # J

    .prologue
    .line 67
    invoke-direct {p0, p1, p2}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->collapseHeader(J)V

    return-void
.end method

.method static synthetic access$1900(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)F
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mLastMotionY:F

    return v0
.end method

.method static synthetic access$1902(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;F)F
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # F

    .prologue
    .line 67
    iput p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mLastMotionY:F

    return p1
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/support/v4/view/ViewPager;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mViewPager:Landroid/support/v4/view/ViewPager;

    return-object v0
.end method

.method static synthetic access$2000(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTouchSlop:I

    return v0
.end method

.method static synthetic access$2100(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->updateIndicator()V

    return-void
.end method

.method static synthetic access$2200(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$2300(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/app/Activity;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getActivity()Landroid/app/Activity;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$2400(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/widget/ImageView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNewMsgIndicator:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$2500(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/os/Handler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$2600(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mRecommendNumTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2700(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mFavNumTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2800(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUpNum:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$2902(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 67
    iput-boolean p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsExpanded:Z

    return p1
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    return-object v0
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderArea:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/model/UserModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    return-object v0
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/model/CommonUserModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    return-object v0
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$800(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Landroid/app/Activity;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getActivity()Landroid/app/Activity;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$900(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    .prologue
    .line 67
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    return-object v0
.end method

.method static synthetic access$902(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;)Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;
    .param p1, "x1"    # Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    .prologue
    .line 67
    iput-object p1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    return-object p1
.end method

.method private animateIndicator(FF)V
    .registers 8
    .param p1, "from"    # F
    .param p2, "to"    # F

    .prologue
    .line 558
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIndicator:Landroid/view/View;

    const-string v2, "x"

    const/4 v3, 0x2

    new-array v3, v3, [F

    const/4 v4, 0x0

    aput p1, v3, v4

    const/4 v4, 0x1

    aput p2, v3, v4

    invoke-static {v1, v2, v3}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v0

    .line 559
    .local v0, "animator":Landroid/animation/ObjectAnimator;
    new-instance v1, Landroid/view/animation/OvershootInterpolator;

    invoke-direct {v1}, Landroid/view/animation/OvershootInterpolator;-><init>()V

    invoke-virtual {v0, v1}, Landroid/animation/ObjectAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 560
    const-wide/16 v2, 0x12c

    invoke-virtual {v0, v2, v3}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    .line 561
    invoke-virtual {v0}, Landroid/animation/ObjectAnimator;->start()V

    .line 562
    return-void
.end method

.method private collapseHeader(J)V
    .registers 14
    .param p1, "startDelay"    # J

    .prologue
    .line 574
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsExpanded:Z

    if-nez v0, :cond_5

    .line 580
    :goto_4
    return-void

    .line 578
    :cond_5
    const/4 v2, 0x0

    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoDy:I

    neg-int v0, v0

    int-to-float v3, v0

    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderBottom:I

    int-to-float v4, v0

    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderBottom:I

    iget v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mDy:I

    sub-int/2addr v0, v1

    int-to-float v5, v0

    const/high16 v6, 0x3f800000

    const/high16 v7, 0x3f400000

    const/4 v10, 0x0

    move-object v1, p0

    move-wide v8, p1

    invoke-direct/range {v1 .. v10}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->startAnimation(FFFFFFJZ)V

    goto :goto_4
.end method

.method private expandHeader(J)V
    .registers 14
    .param p1, "startDelay"    # J

    .prologue
    .line 565
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIsExpanded:Z

    if-eqz v0, :cond_5

    .line 571
    :goto_4
    return-void

    .line 569
    :cond_5
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoDy:I

    neg-int v0, v0

    int-to-float v2, v0

    const/4 v3, 0x0

    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderBottom:I

    iget v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mDy:I

    sub-int/2addr v0, v1

    int-to-float v4, v0

    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderBottom:I

    int-to-float v5, v0

    const/high16 v6, 0x3f400000

    const/high16 v7, 0x3f800000

    const/4 v10, 0x1

    move-object v1, p0

    move-wide v8, p1

    invoke-direct/range {v1 .. v10}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->startAnimation(FFFFFFJZ)V

    goto :goto_4
.end method

.method private generateHeaderView()Landroid/view/View;
    .registers 5

    .prologue
    .line 259
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getContext()Landroid/content/Context;

    move-result-object v1

    const v2, 0x7f03001e

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 260
    .local v0, "headerView":Landroid/view/View;
    const v1, 0x7f0a0096

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUpNum:Landroid/widget/TextView;

    .line 261
    return-object v0
.end method

.method private initData()V
    .registers 9

    .prologue
    const v7, 0x7f02010e

    const/4 v6, 0x1

    .line 149
    invoke-static {p0}, Landroid/view/ViewConfiguration;->get(Landroid/content/Context;)Landroid/view/ViewConfiguration;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/ViewConfiguration;->getScaledTouchSlop()I

    move-result v2

    iput v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTouchSlop:I

    .line 151
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 152
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v3, "UserModel"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/model/CommonUserModel;

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    .line 154
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v2, :cond_a7

    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v2

    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v3

    if-ne v2, v3, :cond_a7

    .line 155
    const-string v2, "EnterSelfPersonalPage"

    invoke-static {p0, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 157
    new-instance v2, Lcom/brixd/niceapp/model/CommonUserModel;

    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-direct {v2, v3}, Lcom/brixd/niceapp/model/CommonUserModel;-><init>(Lcom/brixd/niceapp/model/UserModel;)V

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    .line 160
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getCurrentUserBg()I

    move-result v0

    .line 161
    .local v0, "color":I
    const-string v2, "#%06X"

    new-array v3, v6, [Ljava/lang/Object;

    const/4 v4, 0x0

    const v5, 0xffffff

    and-int/2addr v5, v0

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v3, v4

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    .line 162
    .local v1, "strColor":Ljava/lang/String;
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v2, v1}, Lcom/brixd/niceapp/model/CommonUserModel;->setBgColor(Ljava/lang/String;)V

    .line 167
    .end local v0    # "color":I
    .end local v1    # "strColor":Ljava/lang/String;
    :goto_5e
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mMetrics:Landroid/util/DisplayMetrics;

    .line 169
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 170
    new-instance v2, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    invoke-virtual {v2, v6}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v6}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v6}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisc(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    sget-object v3, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    invoke-virtual {v2, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    sget-object v3, Landroid/graphics/Bitmap$Config;->RGB_565:Landroid/graphics/Bitmap$Config;

    .line 171
    invoke-virtual {v2, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    new-instance v3, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;

    invoke-direct {v3}, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;-><init>()V

    invoke-virtual {v2, v3}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->displayer(Lcom/nostra13/universalimageloader/core/display/BitmapDisplayer;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v7}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    .line 172
    invoke-virtual {v2, v7}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    invoke-virtual {v2, v7}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v2

    invoke-virtual {v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 173
    return-void

    .line 164
    :cond_a7
    const-string v2, "EnterOthersPersonalPage"

    invoke-static {p0, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    goto :goto_5e
.end method

.method private initWidgets()V
    .registers 12

    .prologue
    const/16 v10, 0x8

    const/4 v9, 0x1

    const/4 v8, 0x0

    const/4 v7, 0x0

    .line 176
    const v3, 0x7f0a007e

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Lcom/brixd/niceapp/ui/ZMScrollView;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mScrollView:Lcom/brixd/niceapp/ui/ZMScrollView;

    .line 177
    const v3, 0x7f0a00a5

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/support/v4/view/ViewPager;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mViewPager:Landroid/support/v4/view/ViewPager;

    .line 178
    const v3, 0x7f0a00a4

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mContentView:Landroid/view/View;

    .line 179
    const v3, 0x7f0a0098

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoArea:Landroid/view/View;

    .line 180
    const v3, 0x7f0a0097

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderArea:Landroid/view/View;

    .line 181
    const v3, 0x7f0a009b

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNumArea:Landroid/view/View;

    .line 182
    const v3, 0x7f0a00a3

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mIndicator:Landroid/view/View;

    .line 183
    const v3, 0x7f0a00a8

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNewMsgIndicator:Landroid/widget/ImageView;

    .line 184
    const v3, 0x7f0a00a6

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNewMsgBox:Landroid/view/View;

    .line 185
    const v3, 0x7f0a009d

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mRecommendBtn:Landroid/view/View;

    .line 186
    const v3, 0x7f0a00a0

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mFavBtn:Landroid/view/View;

    .line 187
    const v3, 0x7f0a009f

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mRecommendNumTxt:Landroid/widget/TextView;

    .line 188
    const v3, 0x7f0a00a2

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mFavNumTxt:Landroid/widget/TextView;

    .line 190
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mViewPager:Landroid/support/v4/view/ViewPager;

    new-instance v4, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$1;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    invoke-virtual {v3, v4}, Landroid/support/v4/view/ViewPager;->post(Ljava/lang/Runnable;)Z

    .line 207
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoArea:Landroid/view/View;

    invoke-virtual {v3, v9}, Landroid/view/View;->setFocusable(Z)V

    .line 208
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoArea:Landroid/view/View;

    invoke-virtual {v3, v9}, Landroid/view/View;->setFocusableInTouchMode(Z)V

    .line 210
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    .line 211
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    sget-object v4, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 212
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    sget-object v4, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_Fav:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 213
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mScrollView:Lcom/brixd/niceapp/ui/ZMScrollView;

    invoke-virtual {v3, v7}, Lcom/brixd/niceapp/ui/ZMScrollView;->setScrollable(Z)V

    .line 215
    new-instance v3, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager;

    move-result-object v4

    iget-object v5, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    invoke-direct {v3, v4, v5}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;-><init>(Landroid/support/v4/app/FragmentManager;Ljava/util/List;)V

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    .line 216
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_c0
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    invoke-virtual {v3}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->getCount()I

    move-result v3

    if-ge v2, v3, :cond_d8

    .line 217
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    invoke-virtual {v3, v2}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->getItem(I)Landroid/support/v4/app/Fragment;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    .line 218
    .local v1, "fragment":Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v1, v3}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->setCommonUser(Lcom/brixd/niceapp/model/CommonUserModel;)V

    .line 216
    add-int/lit8 v2, v2, 0x1

    goto :goto_c0

    .line 221
    .end local v1    # "fragment":Lcom/brixd/niceapp/community/CommunityAppBaseFragment;
    :cond_d8
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    sget-object v5, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->Type_User:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-interface {v4, v5}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v4

    invoke-virtual {v3, v4}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->getItem(I)Landroid/support/v4/app/Fragment;

    move-result-object v3

    check-cast v3, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;

    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->generateHeaderView()Landroid/view/View;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/brixd/niceapp/community/CommunityAppBaseFragment;->setHeaderView(Landroid/view/View;)V

    .line 223
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mViewPager:Landroid/support/v4/view/ViewPager;

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    invoke-virtual {v3, v4}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    .line 225
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoArea:Landroid/view/View;

    const v4, 0x7f0a0076

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAvatarImage:Landroid/widget/ImageView;

    .line 226
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoArea:Landroid/view/View;

    const v4, 0x7f0a0099

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserNameTxt:Landroid/widget/TextView;

    .line 227
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoArea:Landroid/view/View;

    const v4, 0x7f0a009a

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserIntroTxt:Landroid/widget/TextView;

    .line 228
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoArea:Landroid/view/View;

    const v4, 0x7f0a0077

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    iput-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserIdentityImage:Landroid/widget/ImageView;

    .line 230
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mContentView:Landroid/view/View;

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/CommonUserModel;->getBgColor()Ljava/lang/String;

    move-result-object v4

    invoke-direct {p0, v4}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-virtual {v3, v4}, Landroid/view/View;->setBackgroundColor(I)V

    .line 231
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserNameTxt:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 232
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserIntroTxt:Landroid/widget/TextView;

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserIntro()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 233
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/CommonUserModel;->getAvatarUrl()Ljava/lang/String;

    move-result-object v4

    iget-object v5, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAvatarImage:Landroid/widget/ImageView;

    iget-object v6, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v3, v4, v5, v6}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 235
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v3, :cond_170

    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v3

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v4}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v4

    if-eq v3, v4, :cond_18c

    .line 236
    :cond_170
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserNameTxt:Landroid/widget/TextView;

    invoke-virtual {v3, v8, v8, v8, v8}, Landroid/widget/TextView;->setCompoundDrawables(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 237
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNewMsgBox:Landroid/view/View;

    invoke-virtual {v3, v10}, Landroid/view/View;->setVisibility(I)V

    .line 248
    :goto_17a
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    if-eqz v3, :cond_18b

    .line 249
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserIdentity()I

    move-result v3

    if-ne v3, v9, :cond_1a9

    .line 250
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserIdentityImage:Landroid/widget/ImageView;

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 256
    :cond_18b
    :goto_18b
    return-void

    .line 239
    :cond_18c
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNewMsgBox:Landroid/view/View;

    invoke-virtual {v3, v7}, Landroid/view/View;->setVisibility(I)V

    .line 240
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v3

    invoke-static {v3}, Lcom/brixd/niceapp/util/LocalCacheUtils;->getMessageCount(I)I

    move-result v0

    .line 241
    .local v0, "count":I
    if-lez v0, :cond_1a3

    .line 242
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNewMsgIndicator:Landroid/widget/ImageView;

    invoke-virtual {v3, v7}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_17a

    .line 244
    :cond_1a3
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNewMsgIndicator:Landroid/widget/ImageView;

    invoke-virtual {v3, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_17a

    .line 252
    .end local v0    # "count":I
    :cond_1a9
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserIdentityImage:Landroid/widget/ImageView;

    invoke-virtual {v3, v10}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_18b
.end method

.method private initWidgetsActions()V
    .registers 6

    .prologue
    .line 265
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mInfoArea:Landroid/view/View;

    new-instance v4, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$2;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    invoke-virtual {v3, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 279
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mFavBtn:Landroid/view/View;

    new-instance v4, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$3;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$3;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    invoke-virtual {v3, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 292
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mRecommendBtn:Landroid/view/View;

    new-instance v4, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$4;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    invoke-virtual {v3, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 305
    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$5;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$5;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    .line 355
    .local v1, "listener":Landroid/widget/AbsListView$OnScrollListener;
    new-instance v2, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$6;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$6;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    .line 445
    .local v2, "onTouchListener":Landroid/view/View$OnTouchListener;
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_29
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    invoke-virtual {v3}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->getCount()I

    move-result v3

    if-ge v0, v3, :cond_3e

    .line 446
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    invoke-virtual {v3, v0, v1}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->setOnScrollListener(ILandroid/widget/AbsListView$OnScrollListener;)V

    .line 447
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    invoke-virtual {v3, v0, v2}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->setOnTouchListener(ILandroid/view/View$OnTouchListener;)V

    .line 445
    add-int/lit8 v0, v0, 0x1

    goto :goto_29

    .line 450
    :cond_3e
    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mViewPager:Landroid/support/v4/view/ViewPager;

    new-instance v4, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$7;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$7;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    invoke-virtual {v3, v4}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    .line 470
    const v3, 0x7f0a002d

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    new-instance v4, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$8;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$8;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    invoke-virtual {v3, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 478
    const v3, 0x7f0a00a7

    invoke-virtual {p0, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    new-instance v4, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$9;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$9;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    invoke-virtual {v3, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 495
    return-void
.end method

.method private parseColor(Ljava/lang/String;)I
    .registers 5
    .param p1, "colorString"    # Ljava/lang/String;

    .prologue
    .line 636
    :try_start_0
    invoke-static {p1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_3} :catch_5

    move-result v0

    .line 641
    .local v0, "color":I
    :goto_4
    return v0

    .line 637
    .end local v0    # "color":I
    :catch_5
    move-exception v1

    .line 638
    .local v1, "e":Ljava/lang/Exception;
    const-string v2, "#08aad9"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    .restart local v0    # "color":I
    goto :goto_4
.end method

.method private startAnimation(FFFFFFJZ)V
    .registers 21
    .param p1, "headerFrom"    # F
    .param p2, "headerTo"    # F
    .param p3, "listFrom"    # F
    .param p4, "listTo"    # F
    .param p5, "scaleFrom"    # F
    .param p6, "scaleTo"    # F
    .param p7, "startDelay"    # J
    .param p9, "expand"    # Z

    .prologue
    .line 584
    iget-object v6, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mHeaderArea:Landroid/view/View;

    const-string v7, "y"

    const/4 v8, 0x2

    new-array v8, v8, [F

    const/4 v9, 0x0

    aput p1, v8, v9

    const/4 v9, 0x1

    aput p2, v8, v9

    invoke-static {v6, v7, v8}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v2

    .line 585
    .local v2, "headerAnimator":Landroid/animation/ObjectAnimator;
    iget-object v6, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mViewPager:Landroid/support/v4/view/ViewPager;

    const-string v7, "y"

    const/4 v8, 0x2

    new-array v8, v8, [F

    const/4 v9, 0x0

    aput p3, v8, v9

    const/4 v9, 0x1

    aput p4, v8, v9

    invoke-static {v6, v7, v8}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v3

    .line 586
    .local v3, "listAnimator":Landroid/animation/ObjectAnimator;
    iget-object v6, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNumArea:Landroid/view/View;

    const-string v7, "ScaleX"

    const/4 v8, 0x2

    new-array v8, v8, [F

    const/4 v9, 0x0

    aput p5, v8, v9

    const/4 v9, 0x1

    aput p6, v8, v9

    invoke-static {v6, v7, v8}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v4

    .line 587
    .local v4, "scaleXAnimator":Landroid/animation/ObjectAnimator;
    iget-object v6, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mNumArea:Landroid/view/View;

    const-string v7, "ScaleY"

    const/4 v8, 0x2

    new-array v8, v8, [F

    const/4 v9, 0x0

    aput p5, v8, v9

    const/4 v9, 0x1

    aput p6, v8, v9

    invoke-static {v6, v7, v8}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v5

    .line 589
    .local v5, "scaleYAnimator":Landroid/animation/ObjectAnimator;
    const-wide/16 v6, 0x12c

    invoke-virtual {v2, v6, v7}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    .line 590
    const-wide/16 v6, 0x12c

    invoke-virtual {v3, v6, v7}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    .line 591
    const-wide/16 v6, 0x12c

    invoke-virtual {v4, v6, v7}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    .line 592
    const-wide/16 v6, 0x12c

    invoke-virtual {v5, v6, v7}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    .line 594
    new-instance v6, Landroid/view/animation/DecelerateInterpolator;

    invoke-direct {v6}, Landroid/view/animation/DecelerateInterpolator;-><init>()V

    invoke-virtual {v2, v6}, Landroid/animation/ObjectAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 595
    new-instance v6, Landroid/view/animation/DecelerateInterpolator;

    invoke-direct {v6}, Landroid/view/animation/DecelerateInterpolator;-><init>()V

    invoke-virtual {v3, v6}, Landroid/animation/ObjectAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 596
    new-instance v6, Landroid/view/animation/DecelerateInterpolator;

    invoke-direct {v6}, Landroid/view/animation/DecelerateInterpolator;-><init>()V

    invoke-virtual {v4, v6}, Landroid/animation/ObjectAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 597
    new-instance v6, Landroid/view/animation/DecelerateInterpolator;

    invoke-direct {v6}, Landroid/view/animation/DecelerateInterpolator;-><init>()V

    invoke-virtual {v5, v6}, Landroid/animation/ObjectAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 598
    move-wide/from16 v0, p7

    invoke-virtual {v2, v0, v1}, Landroid/animation/ObjectAnimator;->setStartDelay(J)V

    .line 599
    move-wide/from16 v0, p7

    invoke-virtual {v3, v0, v1}, Landroid/animation/ObjectAnimator;->setStartDelay(J)V

    .line 600
    move-wide/from16 v0, p7

    invoke-virtual {v4, v0, v1}, Landroid/animation/ObjectAnimator;->setStartDelay(J)V

    .line 601
    move-wide/from16 v0, p7

    invoke-virtual {v5, v0, v1}, Landroid/animation/ObjectAnimator;->setStartDelay(J)V

    .line 603
    new-instance v6, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$11;

    move/from16 v0, p9

    invoke-direct {v6, p0, v0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$11;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;Z)V

    invoke-virtual {v2, v6}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 627
    invoke-virtual {v2}, Landroid/animation/ObjectAnimator;->start()V

    .line 628
    invoke-virtual {v3}, Landroid/animation/ObjectAnimator;->start()V

    .line 629
    invoke-virtual {v4}, Landroid/animation/ObjectAnimator;->start()V

    .line 630
    invoke-virtual {v5}, Landroid/animation/ObjectAnimator;->start()V

    .line 631
    return-void
.end method

.method private updateIndicator()V
    .registers 5

    .prologue
    .line 538
    sget-object v2, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$12;->$SwitchMap$com$brixd$niceapp$community$AbsCommunityBaseFragment$AppListType:[I

    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mType:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-virtual {v3}, Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;->ordinal()I

    move-result v3

    aget v2, v2, v3

    packed-switch v2, :pswitch_data_32

    .line 555
    :goto_d
    return-void

    .line 540
    :pswitch_e
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mRecommendBtn:Landroid/view/View;

    invoke-virtual {v2}, Landroid/view/View;->getLeft()I

    move-result v0

    .line 541
    .local v0, "from":I
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mFavBtn:Landroid/view/View;

    invoke-virtual {v2}, Landroid/view/View;->getLeft()I

    move-result v1

    .line 542
    .local v1, "to":I
    int-to-float v2, v0

    int-to-float v3, v1

    invoke-direct {p0, v2, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->animateIndicator(FF)V

    goto :goto_d

    .line 547
    .end local v0    # "from":I
    .end local v1    # "to":I
    :pswitch_20
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mFavBtn:Landroid/view/View;

    invoke-virtual {v2}, Landroid/view/View;->getLeft()I

    move-result v0

    .line 548
    .restart local v0    # "from":I
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mRecommendBtn:Landroid/view/View;

    invoke-virtual {v2}, Landroid/view/View;->getLeft()I

    move-result v1

    .line 549
    .restart local v1    # "to":I
    int-to-float v2, v0

    int-to-float v3, v1

    invoke-direct {p0, v2, v3}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->animateIndicator(FF)V

    goto :goto_d

    .line 538
    :pswitch_data_32
    .packed-switch 0x1
        :pswitch_e
        :pswitch_20
    .end packed-switch
.end method

.method private updateStatistic()V
    .registers 5

    .prologue
    .line 516
    invoke-static {p0}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/service/restful/UserRestfulRequest;

    invoke-virtual {v1, v2}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/service/restful/UserRestfulRequest;

    .line 517
    .local v0, "request":Lcom/brixd/niceapp/service/restful/UserRestfulRequest;
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v1

    const/4 v2, 0x2

    new-instance v3, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$10;

    invoke-direct {v3, p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity$10;-><init>(Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;)V

    invoke-interface {v0, v1, v2, v3}, Lcom/brixd/niceapp/service/restful/UserRestfulRequest;->queryUserstatistic(IILretrofit/Callback;)V

    .line 535
    return-void
.end method

.method private updateUserInfo()V
    .registers 7

    .prologue
    .line 498
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v2, :cond_5b

    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v2

    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mCommonUser:Lcom/brixd/niceapp/model/CommonUserModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/CommonUserModel;->getUserId()I

    move-result v3

    if-ne v2, v3, :cond_5b

    .line 499
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getBgColor()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0, v2}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->parseColor(Ljava/lang/String;)I

    move-result v0

    .line 500
    .local v0, "preColor":I
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 501
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getBgColor()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0, v2}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->parseColor(Ljava/lang/String;)I

    move-result v1

    .line 503
    .local v1, "toColor":I
    invoke-static {v1}, Lcom/brixd/niceapp/service/UserService;->setCurrentUserBg(I)V

    .line 505
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserNameTxt:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/UserModel;->getNick()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 506
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserIntroTxt:Landroid/widget/TextView;

    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/UserModel;->getDescription()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 508
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mContentView:Landroid/view/View;

    const/16 v3, 0x258

    invoke-static {v2, v0, v1, v3}, Lcom/brixd/niceapp/animator/AnimatorUtils;->showBackgroundColorAnimation(Landroid/view/View;III)V

    .line 510
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v3, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/UserModel;->getImage()Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAvatarImage:Landroid/widget/ImageView;

    iget-object v5, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v2, v3, v4, v5}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 513
    .end local v0    # "preColor":I
    .end local v1    # "toColor":I
    :cond_5b
    return-void
.end method


# virtual methods
.method public delAppMode(Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;)V
    .registers 5
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 646
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    iget-object v2, p1, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;->type:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v0

    .line 647
    .local v0, "position":I
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    iget-object v2, p1, Lcom/brixd/niceapp/bus/event/DelCommunityAppModelEvent;->appModel:Lcom/brixd/niceapp/community/model/CommunityAppModel;

    invoke-virtual {v1, v0, v2}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->delApp(ILcom/brixd/niceapp/community/model/CommunityAppModel;)V

    .line 649
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->updateStatistic()V

    .line 650
    return-void
.end method

.method public editAppModel(Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;)V
    .registers 5
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 654
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    iget-object v2, p1, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;->type:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v0

    .line 655
    .local v0, "position":I
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    iget-object v2, p1, Lcom/brixd/niceapp/bus/event/EditCommunityAppModelEvent;->appModel:Lcom/brixd/niceapp/community/model/CommunityAppModel;

    invoke-virtual {v1, v0, v2}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->editApp(ILcom/brixd/niceapp/community/model/CommunityAppModel;)V

    .line 657
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->updateStatistic()V

    .line 658
    return-void
.end method

.method public favStatusChanged(Lcom/brixd/niceapp/bus/event/FavStatusChangedEvent;)V
    .registers 5
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/FavStatusChangedEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 670
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    iget-object v2, p1, Lcom/brixd/niceapp/bus/event/FavStatusChangedEvent;->type:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v0

    .line 671
    .local v0, "position":I
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    iget-object v2, p1, Lcom/brixd/niceapp/bus/event/FavStatusChangedEvent;->appModel:Lcom/brixd/niceapp/community/model/CommunityAppModel;

    invoke-virtual {v1, v0, v2}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->favStatusChanged(ILcom/brixd/niceapp/community/model/CommunityAppModel;)V

    .line 673
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->updateStatistic()V

    .line 674
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .registers 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 126
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 127
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->register(Ljava/lang/Object;)V

    .line 128
    const v0, 0x7f030020

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->setContentView(I)V

    .line 130
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->initData()V

    .line 131
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->initWidgets()V

    .line 132
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->initWidgetsActions()V

    .line 134
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->updateStatistic()V

    .line 135
    return-void
.end method

.method protected onDestroy()V
    .registers 2

    .prologue
    .line 139
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->unregister(Ljava/lang/Object;)V

    .line 140
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onDestroy()V

    .line 141
    return-void
.end method

.method protected onPause()V
    .registers 2

    .prologue
    .line 119
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onPause()V

    .line 120
    const-string v0, "UserInfoMainActivity"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    .line 121
    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onPause(Landroid/content/Context;)V

    .line 122
    return-void
.end method

.method protected onResume()V
    .registers 2

    .prologue
    .line 111
    invoke-super {p0}, Lcom/brixd/niceapp/activity/AbsBaseSwipeBackActivity;->onResume()V

    .line 113
    const-string v0, "UserInfoMainActivity"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    .line 114
    invoke-static {p0}, Lcom/umeng/analytics/MobclickAgent;->onResume(Landroid/content/Context;)V

    .line 115
    return-void
.end method

.method public onUserInforChanged(Lcom/brixd/niceapp/bus/event/UpdateUserInfoEvent;)V
    .registers 2
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/UpdateUserInfoEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 145
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->updateUserInfo()V

    .line 146
    return-void
.end method

.method public updateBottomNums(Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;)V
    .registers 5
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 662
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mTypes:Ljava/util/List;

    iget-object v2, p1, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;->type:Lcom/brixd/niceapp/community/AbsCommunityBaseFragment$AppListType;

    invoke-interface {v1, v2}, Ljava/util/List;->indexOf(Ljava/lang/Object;)I

    move-result v0

    .line 663
    .local v0, "position":I
    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->mAdapter:Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;

    iget-object v2, p1, Lcom/brixd/niceapp/bus/event/UpdateBottomNumsEvent;->appModel:Lcom/brixd/niceapp/community/model/CommunityAppModel;

    invoke-virtual {v1, v0, v2}, Lcom/brixd/niceapp/community/adapter/CommunityMainAdapter;->updateBottomNums(ILcom/brixd/niceapp/community/model/CommunityAppModel;)V

    .line 665
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;->updateStatistic()V

    .line 666
    return-void
.end method
